﻿<%@ Page Title="Login" Language="C#" MasterPageFile="~/masterpages/mpPadrao.master"
    AutoEventWireup="true" CodeBehind="login.aspx.cs" Inherits="OwnZTec.Web.conteudoseguro.login.Login" %>

<%@ Register src="../../controles/login/AlterarSenha.ascx" tagname="AlterarSenha" tagprefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MenuContent" runat="server">
    Login
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ConteudoContent" runat="server">
    <span class="fontBold font14">Login</span>
    <br />
    <br />
    <table cellpadding="0" border="0" cellspacing="0">
        <tr>
            <td width="100px" class="fontBold">
                Usuário
            </td>
            <td width="200px">
                <asp:TextBox ID="txtUsuario" runat="server" Style="width: 195px;"></asp:TextBox>
            </td>
            <td>
                <asp:RequiredFieldValidator ID="rfvUsuario" runat="server" ErrorMessage="Favor entrar com um usuário."
                    ControlToValidate="txtUsuario" Text="*" ForeColor="red"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr class="trSpacadora">
            <td colspan="3">
            </td>
        </tr>
        <tr>
            <td class="fontBold">
                Senha
            </td>
            <td>
                <asp:TextBox ID="txtSenha" runat="server" Style="width: 195px;" TextMode="Password"></asp:TextBox>
            </td>
            <td>
                <asp:RequiredFieldValidator ID="rfvSenha" runat="server" ErrorMessage="Favor entrar com uma senha."
                    ControlToValidate="txtSenha" Text="*" ForeColor="red"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr class="trSpacadora">
            <td colspan="2">
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <asp:Button ID="cmdLogin" runat="server" Text="Login" Style="float: right;" OnClick="CmdLoginClick" />
            </td>
            <td>
            </td>
        </tr>
    </table>
    <asp:Label ID="lblLoginInvalido" runat="server" Text="" CssClass="fontErro"></asp:Label>
    
    <asp:ValidationSummary ID="vsResultado" runat="server" ForeColor="Red" DisplayMode="BulletList" />
    <div style="position: absolute; top: 0; right: 0; left: 0; bottom: 0; background-color: White; padding: 5px 3px;"
        id="divMudarSenha" runat="server">
        <span class="fontBold font14">Você precisa mudar sua senha:</span>
        <br />
        <br />
        <uc1:AlterarSenha ID="uc1AlterarSenha" runat="server" />
    </div>
</asp:Content>
